From: Keir Fraser Date: Wed, 14 May 2008 08:11:40 +0000 (+0100) Subject: ioemu: Fix handling of phy: block devices. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14215^2~11 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=d9aa54422bc4bafd176ff39da68de693286f4763;p=xen.git ioemu: Fix handling of phy: block devices. Signed-off-by: Ian Jackson --- diff --git a/tools/ioemu/xenstore.c b/tools/ioemu/xenstore.c index bba243bdd4..6093618e44 100644 --- a/tools/ioemu/xenstore.c +++ b/tools/ioemu/xenstore.c @@ -258,7 +258,7 @@ void xenstore_parse_domain_config(int hvm_domid) } if (!strcmp(drv,"qcow")) { /* autoguess qcow vs qcow2 */ - } else if (!strcmp(drv,"file")) { + } else if (!strcmp(drv,"file") || !strcmp(drv,"phy")) { format = &bdrv_raw; } else { format = bdrv_find_format(drv);